package ModelLayer;

public class Person 
{
	private String name;
	private String adress;
	private int zipCode;
	private String city;
	private int phoneNumber;
	private String email;

//Empty Constructor
public Person()
{
	
}
	
//Constructer which takes; name, adress, zipcode, city, phonenumber and email as a parameter.
public Person(String name, String adress, int zipCode, String city, int phoneNumber, String email)
{
	this.name = name;
	this.adress = adress;
	this.zipCode = zipCode;
	this.city = city;
	this.phoneNumber = phoneNumber;
	this.email = email;
}

//Constructer which takes; name, address, zipcode, phonenumber and email as a parameter.
public Person(String name, String adress, int zipCode, int phoneNumber, String email)
{
	this.name = name;
	this.adress = adress;
	this.zipCode = zipCode;
	this.phoneNumber = phoneNumber;
	this.email = email;
}


//Returns the persons name
public String getName() 
{
	return name;
}

//Set a new persons name
public void setName(String name) 
{
	this.name = name;
}

//Returns adress
public String getAdress() 
{
	return adress;
}

//Sets the adress
public void setAdress(String adress) 
{
	this.adress = adress;
}

//Return zipcode
public int getZipCode() 
{
	return zipCode;
}

//Sets the zipcode
public void setZipCode(int zipCode) 
{
	this.zipCode = zipCode;
}

//Return the city
public String getCity() 
{
	return city;
}

//Sets city
public void setCity(String city) 
{
	this.city = city;
}

//Returns phonenumber
public int getPhoneNumber() 
{
	return phoneNumber;
}

//Sets the phonenumber
public void setPhoneNumber(int phoneNumber) 
{
	this.phoneNumber = phoneNumber;
}

//Returs email
public String getEmail() 
{
	return email;
}

//Sets email
public void setEmail(String email) 
{
	this.email = email;
}

}